﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using GraphViewerWpf.Entity;

namespace GraphViewerWpf.Graph
{
    [DebuggerDisplay("{Id}-{Type}")]
    public class Vertex
    {
        public string Id { get; private set; }
        public NodeType Type { get; private set; }

        public Vertex(string id, NodeType type)
        {
            Id = id;
            Type = type;
        }

        public override string ToString()
        {
            return Id;
        }
    }
}
